﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_SMS_GetOnlineCount]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_SMS_GetOnlineCount];
GO
CREATE PROCEDURE [dbo].[sproc_SMS_GetOnlineCount]
/*

===================================================
功能:    得到在线人数
参数:
    无
===================================================

*/
AS
SELECT COUNT(*) 
    FROM UDS_Online